import { redirect } from 'next/navigation';
import { Tag } from 'antd';

export default function Home() {
  redirect('/dish-management');
}

const renderTags = (tags: any) => {
  if (!tags) return null;
  const tagArray = Array.isArray(tags) ? tags : [];
  return tagArray.map((tag: string) => (
    <Tag key={tag}>{tag}</Tag>
  ));
};
